using Game;

namespace RuthlessConquest {
    public class MusicModule : Module {
        public MusicModule(Game game) : base(game) { }

        public void Update() {
            if (StepModule.IsGameStarted) {
                if (StepModule.CountdownStepsLeft > 0) {
                    MusicManager.CurrentMix = MusicManager.Mix.None;
                }
                else {
                    MusicManager.CurrentMix = MusicManager.Mix.InGame;
                }
            }
        }
    }
}